all:test_tablet_scanner

test_tablet_scanner : test_tablet_scanner.o ../lib/protocol.o ../lib/async_module_stats.o ../common/logger.o
	g++ -o $@ $^ -lboost_system -lboost_thread -lpthread -llog4cplus -Wall -ggdb -pg -O2

%.o:%.cpp
	g++ -c -o $@ $< -I../common -I../lib -Wall -Wno-deprecated -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS -ggdb -pg -O2


clean:
	rm -rf test_tablet_scanner test_tablet_scanner.o
